﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
	CodeFile="profile.aspx.cs" Inherits="createProfile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="placeholderHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="placeholderBody" runat="server">
	<h1>
		<%	if (Session[AbstractPage.SESSION_USER] == null) {
		%>
		Create User Account
		<%
			} else {
		%>
		Update User Account
		<%
			} %>
	</h1>
	
	<table>
		<tbody>
			<tr>
				<td class="panel" valign="top">
					<table>
						<tbody>
							<tr>
								<h2>My Account</h2>
								<td>
									Email Address:<br />
									<asp:TextBox ID="txtEmail" runat="server" />
								</td>
								<td>
									Password:<br />
									<asp:TextBox ID="txtPassword1" runat="server" TextMode="Password" />
								</td>
								<td>
									Confirm Password:<br />
									<asp:TextBox ID="txtPassword2" runat="server" TextMode="Password" />
								</td>
							</tr>
							<tr>
								<td>
									First name:<br />
									<asp:TextBox ID="txtFirstName" runat="server" />
								</td>
								<td>
									Middle name:<br />
									<asp:TextBox ID="txtMiddleName" runat="server" />
								</td>
								<td>
									Last name:<br />
									<asp:TextBox ID="txtLastName" runat="server" />
								</td>
							</tr>
							<tr>
								<td>
									ZIP:<br />
									<asp:TextBox ID="txtZip" runat="server" />
								</td>
								<td colspan="2">
									Security question: What was the name of your first pet?<br />
									<asp:TextBox ID="txtSecurityAnswer_Pet" runat="server" />
								</td>
							</tr>
						</tbody>
					</table>
				</td>
				<td class="panel" valign="top">
					<h2>My Schedule</h2>
					
					<strong>For arrival and departure time, enter in whole numbers from 0 - 23.</strong><br /><br />
					
					<table>
						<thead>
							<tr>
								<th>
									Day of Week
								</th>
								<th>
									Arrival Time to School
								</th>
								<th>
									Departure Time from School
								</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>
									Monday
								</td>
								<td>
									<asp:TextBox ID="txtbxMondayReturn" runat="server" Columns="2" MaxLength="2" />:00
								</td>
								<td>
									<asp:TextBox ID="txtbxMondayDeparture" runat="server" Columns="2" MaxLength="2" />:00
								</td>
							</tr>
							<tr>
								<td>
									Tuesday
								</td>
								<td>
									<asp:TextBox ID="txtbxTuesdayReturn" runat="server" Columns="2" MaxLength="2" />:00
								</td>
								<td>
									<asp:TextBox ID="txtbxTuesdayDeparture" runat="server" Columns="2" MaxLength="2" />:00
								</td>
							</tr>
							<tr>
								<td>
									Wednesday
								</td>
								<td>
									<asp:TextBox ID="txtbxWednesdayReturn" runat="server" Columns="2" MaxLength="2" />:00
								</td>
								<td>
									<asp:TextBox ID="txtbxWednesdayDeparture" runat="server" Columns="2" MaxLength="2" />:00
								</td>
							</tr>
							<tr>
								<td>
									Thursday
								</td>
								<td>
									<asp:TextBox ID="txtbxThursdayReturn" runat="server" Columns="2" MaxLength="2" />:00
								</td>
								<td>
									<asp:TextBox ID="txtbxThursdayDeparture" runat="server" Columns="2" MaxLength="2" />:00
								</td>
							</tr>
							<tr>
								<td>
									Friday
								</td>
								<td>
									<asp:TextBox ID="txtbxFridayReturn" runat="server" Columns="2" MaxLength="2" />:00
								</td>
								<td>
									<asp:TextBox ID="txtbxFridayDeparture" runat="server" Columns="2" MaxLength="2" />:00
								</td>
							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
	<asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
	<asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click" />
</asp:Content>
